refetch the accelerator when the accel object is changed. Fixes bug
authorJames Henstridge <james@daa.com.au>
Tue, 7 Aug 2001 01:05:50 +0000 (01:05 +0000)
committerJames Henstridge <jamesh@src.gnome.org>
Tue, 7 Aug 2001 01:05:50 +0000 (01:05 +0000)
2001-08-07  James Henstridge  <james@daa.com.au>

* gtk/gtkaccellabel.c (gtk_accel_label_set_accel_object): refetch
the accelerator when the accel object is changed.  Fixes bug
#58628.

ChangeLog
ChangeLog.pre-2-0
ChangeLog.pre-2-10
ChangeLog.pre-2-2
ChangeLog.pre-2-4
ChangeLog.pre-2-6
ChangeLog.pre-2-8
gtk/gtkaccellabel.c

index 63a5cf578d852ff3983e21f68f629a72bc026b00..ff8ade769ea2abdceda40e0f71b1b310f99dee1d 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2001-08-07  James Henstridge  <james@daa.com.au>
+
+       * gtk/gtkaccellabel.c (gtk_accel_label_set_accel_object): refetch
+       the accelerator when the accel object is changed.  Fixes bug
+       #58628.
+
 2001-08-06  HideToshi Tajima  <tajima@eng.sun.com>
 
        * modules/input/gtkimcontextxim.c (mb_to_utf8), xim_text_to_utf8):
index 63a5cf578d852ff3983e21f68f629a72bc026b00..ff8ade769ea2abdceda40e0f71b1b310f99dee1d 100644 (file)
@@ -1,3 +1,9 @@
+2001-08-07  James Henstridge  <james@daa.com.au>
+
+       * gtk/gtkaccellabel.c (gtk_accel_label_set_accel_object): refetch
+       the accelerator when the accel object is changed.  Fixes bug
+       #58628.
+
 2001-08-06  HideToshi Tajima  <tajima@eng.sun.com>
 
        * modules/input/gtkimcontextxim.c (mb_to_utf8), xim_text_to_utf8):
index 63a5cf578d852ff3983e21f68f629a72bc026b00..ff8ade769ea2abdceda40e0f71b1b310f99dee1d 100644 (file)
@@ -1,3 +1,9 @@
+2001-08-07  James Henstridge  <james@daa.com.au>
+
+       * gtk/gtkaccellabel.c (gtk_accel_label_set_accel_object): refetch
+       the accelerator when the accel object is changed.  Fixes bug
+       #58628.
+
 2001-08-06  HideToshi Tajima  <tajima@eng.sun.com>
 
        * modules/input/gtkimcontextxim.c (mb_to_utf8), xim_text_to_utf8):
index 63a5cf578d852ff3983e21f68f629a72bc026b00..ff8ade769ea2abdceda40e0f71b1b310f99dee1d 100644 (file)
@@ -1,3 +1,9 @@
+2001-08-07  James Henstridge  <james@daa.com.au>
+
+       * gtk/gtkaccellabel.c (gtk_accel_label_set_accel_object): refetch
+       the accelerator when the accel object is changed.  Fixes bug
+       #58628.
+
 2001-08-06  HideToshi Tajima  <tajima@eng.sun.com>
 
        * modules/input/gtkimcontextxim.c (mb_to_utf8), xim_text_to_utf8):
index 63a5cf578d852ff3983e21f68f629a72bc026b00..ff8ade769ea2abdceda40e0f71b1b310f99dee1d 100644 (file)
@@ -1,3 +1,9 @@
+2001-08-07  James Henstridge  <james@daa.com.au>
+
+       * gtk/gtkaccellabel.c (gtk_accel_label_set_accel_object): refetch
+       the accelerator when the accel object is changed.  Fixes bug
+       #58628.
+
 2001-08-06  HideToshi Tajima  <tajima@eng.sun.com>
 
        * modules/input/gtkimcontextxim.c (mb_to_utf8), xim_text_to_utf8):
index 63a5cf578d852ff3983e21f68f629a72bc026b00..ff8ade769ea2abdceda40e0f71b1b310f99dee1d 100644 (file)
@@ -1,3 +1,9 @@
+2001-08-07  James Henstridge  <james@daa.com.au>
+
+       * gtk/gtkaccellabel.c (gtk_accel_label_set_accel_object): refetch
+       the accelerator when the accel object is changed.  Fixes bug
+       #58628.
+
 2001-08-06  HideToshi Tajima  <tajima@eng.sun.com>
 
        * modules/input/gtkimcontextxim.c (mb_to_utf8), xim_text_to_utf8):
index 63a5cf578d852ff3983e21f68f629a72bc026b00..ff8ade769ea2abdceda40e0f71b1b310f99dee1d 100644 (file)
@@ -1,3 +1,9 @@
+2001-08-07  James Henstridge  <james@daa.com.au>
+
+       * gtk/gtkaccellabel.c (gtk_accel_label_set_accel_object): refetch
+       the accelerator when the accel object is changed.  Fixes bug
+       #58628.
+
 2001-08-06  HideToshi Tajima  <tajima@eng.sun.com>
 
        * modules/input/gtkimcontextxim.c (mb_to_utf8), xim_text_to_utf8):
index 36397f3132d709b5705f241a6e618c8ab8ac00e9..82b4f35bebfcaeadb85e3029e325c648c0d3cffe 100644 (file)
@@ -383,6 +383,8 @@ gtk_accel_label_set_accel_object (GtkAccelLabel *accel_label,
                                   accel_label,
                                   G_CONNECT_AFTER | G_CONNECT_SWAPPED);
        }
+       gtk_accel_label_refetch (accel_label);
+
        g_object_notify (G_OBJECT (accel_label), "accel_object");
     }
 }